<template>
  <div>
    <div>父子组件传值</div>
    <son :list="personList"></son>
  </div>
</template>

<script lang="ts" setup>
import { ref } from "vue";
import { type PersonList } from "@/types/04interface&type"

import son from "@/components/05son.vue"

let personList = ref<PersonList>([ { name: 'xiaoming', age: 18 } ])
</script>

<style lang="scss" scoped>

</style>
